<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<jsp:useBean id="myBean" class="kr.ac.changbuk.LoginBean"/>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>jstl core 라이브러리실습2</h1>
String page = "page scope에저장";
<c:set var="page" value="page scope에저장" scope="page"/>
<c:set var="request" value="request scope에저장" scope="request"/>
<c:set var="session" value="session scope에저장" scope="session"/>
<c:set var="application" value="application scope에 저장" scope="application"/>

<c:out value="Hello World"/><br><%= %>
<c:out value="${page }"/><br>

<h1>JSTL CORE 라이브러리 실습 2</h1>
<%
	myBean.setUserid("dfdfdf");
%>
myBean.setuserid("dfdfdf");
<c:set target="${myBean }" property="userid" value="inky4832"/>
${myBean.userid }<br>
<c:out value="${myBean.userid }"/>

<h1> jstl core 라이브러리 실습3</h1>
삭제 전 : <c:out value="${request }"/><br>
<c:remove var="request"/>
삭제후 :<c:out value="${request }"/><br>
</body>
</html>